package com.kr.start.bean.Demo;

import com.baomidou.mybatisplus.annotation.Version;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/5/5 14:08:34
 */
@TableName(value = "qr_test1")
public class test1 {
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "不能为空")
	private Integer id;
	@TableField(value="version_id")
	@Version
	private Integer version_id;
	@TableField(value="value")
	private Integer value;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getVersion_id() {
		return version_id;
	}

	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

}